package analiseSemantica;

public class Binop {

    
        BooleanOp booleanopRef = null;
        RelOp realOpRef = null;
        AritmOp aritmOpRef = null;
        public int line;
        public Binop(Object ob) {

         if( ob instanceof BooleanOp)
             this.booleanopRef = (BooleanOp) ob;

          if( ob instanceof RelOp)
             this.realOpRef = (RelOp) ob;

          if( ob instanceof AritmOp)
             this.aritmOpRef = (AritmOp) ob;
         
        }





        public AritmOp getAritmOpRef() {
            return aritmOpRef;
        }

        public void setAritmOpRef(AritmOp aritmOpRef) {
            this.aritmOpRef = aritmOpRef;
        }

        public BooleanOp getBooleanopRef() {
            return booleanopRef;
        }

        public void setBooleanopRef(BooleanOp booleanopRef) {
            this.booleanopRef = booleanopRef;
        }

        public RelOp getRealOpRef() {
            return realOpRef;
        }

        public void setRealOpRef(RelOp realOpRef) {
            this.realOpRef = realOpRef;
        }


    }

